@media only screen and (max-width: 1180px) {
#footer {
	padding: 0 2%;
}
.fav_box, .twitter_box {
	width: 300px;
}
.profile_about {
	width: 90%
}
.profile_about.biography_about {
	width: 60%
}
.media_content {
	margin: 25px auto 0;
	width: 700px;
}
.main_title p {
	margin-right: 1%
}
#navigation li span {
	margin: 0 5px;
}
}
@media only screen and (max-width: 880px) {
.profile_about {
	width: 96%
}
#header {
	background: rgba(53, 97, 152, 0.7);
	height: 30px;
}
#navigation {
	font-size: 14px;
}
#navigation ul {
	margin-left: 20px;
}
}
@media only screen and (max-width: 767px) {
.copyright, .designed {
	float: none;
	text-align: center;
	font-size: 11px;
	width: 100%;
	line-height: 20px;
	margin: 5px 0;
}
.fav_box, .twitter_box {
	margin: 0 25% 4%
}
.media_content {
	width: 320px;
}
.social_links {
	width: 35%
}
.profile_img {
	float: none;
	width: 50%;
	margin: 10px auto;
}
.profile_about.biography_about {
	width: 96%;
}
.biography_about .main_title p {
	line-height: 24px;
}
/*-----------nav styling--------------*/
#mySidenav, .menu-link {
	display: block;
}
#mainNav, #navigation li span {
	display: none
}
#navigation {
	width: 40%
}
#navigation ul {
	margin-left: 0
}
nav {
	color: #fff;
	display: inline-block;
	width: 92%;
	padding: 3% 4%;
	margin-bottom: 5%;
}
.menu-link {
	cursor: pointer;
	margin-left: 20px;
	background: url(../images/menu-icon.png) left top no-repeat;
	width: 30px;
	height: 30px;
	background-size: 75%;
}
.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background: #003060;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 50px;
}
.sidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 18px;
	color: #efefef;
	display: block;
	transition: 0.3s
}
.sidenav a:hover, .offcanvas a:focus {
	color: #fff;
}
.sidenav .closebtn {
	position: absolute;
	top: 5px;
	right: 15px;
	background: url(../images/close-icon.png) center right no-repeat;
	width: 30px;
	height: 30px;
}
#navigation li {
	display: block;
}
/*-----------------------------------*/
}
@media only screen and (max-width: 639px) {
body {
	background-position: 12%;
}
.fav_box, .twitter_box {
	margin: 0 auto 4%;
}
}
